home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temafire / Red Cats (green flavor).jar / help / help.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-11-05  |  6.2 KB  |  215 lines

  1. /*
  2. # ***** BEGIN LICENSE BLOCK *****
  3. # Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4. #
  5. # The contents of this file are subject to the Mozilla Public License Version
  6. # 1.1 (the "License"); you may not use this file except in compliance with
  7. # the License. You may obtain a copy of the License at
  8. # http://www.mozilla.org/MPL/
  9. #
  10. # Software distributed under the License is distributed on an "AS IS" basis,
  11. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12. # for the specific language governing rights and limitations under the
  13. # License.
  14. #
  15. # The Original Code is Mozilla Help CSS
  16. #
  17. # The Initial Developer of the Original Code is
  18. # R.J. Keller
  19. # Portions created by the Initial Developer are Copyright (C) 2003
  20. # the Initial Developer. All Rights Reserved.
  21. #
  22. # Contributor(s):
  23. # Alternatively, the contents of this file may be used under the terms of
  24. # either the GNU General Public License Version 2 or later (the "GPL"), or
  25. # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  26. # in which case the provisions of the GPL or the LGPL are applicable instead
  27. # of those above. If you wish to allow use of your version of this file only
  28. # under the terms of either the GPL or the LGPL, and not to allow others to
  29. # use your version of this file under the terms of the MPL, indicate your
  30. # decision by deleting the provisions above and replace them with the notice
  31. # and other provisions required by the GPL or the LGPL. If you do not delete
  32. # the provisions above, a recipient may use your version of this file under
  33. # the terms of any one of the MPL, the GPL or the LGPL.
  34. #
  35. # ***** END LICENSE BLOCK *****
  36. */
  37. @import url("chrome://global/skin/");
  38.  
  39. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  40.  
  41. .toolbarbutton-1 {
  42.     -moz-box-orient: vertical;
  43.     min-width: 32px;
  44. }
  45.  
  46. .browserButton {
  47.   -moz-box-orient: vertical;
  48.   min-width: 0px;
  49. }
  50.  
  51. .toolbarbutton-1, .browserButton, .toolbarbutton-menubutton-button {
  52.   padding: 2px;
  53. }
  54.  
  55. .toolbarbutton-1 .toolbarbutton-icon,
  56. .browserButton .toolbarbutton-icon {
  57.   margin-right: 0px;
  58. }
  59.  
  60. #helpToolbar[mode="full"] .toolbarbutton-1,
  61. #helpToolbar[mode="full"] .browserButton,
  62. #helpToolbar[mode="full"] .toolbarbutton-menubutton-button {
  63.   min-width: 57px;
  64. }
  65.  
  66. toolbarbutton:not([disabled="true"]):hover,
  67. menubutton:not([disabled="true"]):hover,
  68. toolbarbutton:not([disabled="true"]):hover:active,
  69. menubutton:not([disabled="true"]):hover:active {
  70.     color: #6E85A8 !important;
  71. }
  72.  
  73. /* Set the minimum sidebar width so the help contents aren't squeezed together.*/
  74. #helpsidebar-box { width: 200px; }
  75.  
  76. #help-back-button {
  77.   list-style-image: url("chrome://browser/skin/icons/back.png");
  78.   -moz-image-region: rect(0px 32px 32px 0px);
  79. }
  80.  
  81. #help-back-button:hover,
  82. #help-back-button[buttonover="true"] {    
  83.     -moz-image-region: rect(32px 32px 64px 0px); 
  84. }
  85.  
  86. #help-back-button[disabled="true"] {    
  87.     -moz-image-region: rect(64px 32px 96px 0px); 
  88. }
  89.  
  90. #help-forward-button {
  91.   list-style-image: url("chrome://browser/skin/icons/forward.png");
  92.   -moz-image-region: rect(0px 32px 32px 0px);
  93. }
  94.  
  95. #help-forward-button:hover,
  96. #help-forward-button[buttonover="true"] {
  97.     -moz-image-region: rect(32px 32px 64px 0px); 
  98. }
  99.  
  100. #help-forward-button[disabled="true"] { 
  101.     -moz-image-region: rect(64px 32px 96px 0px); 
  102. }
  103.  
  104. #help-find-button {
  105.     list-style-image: url("chrome://help/skin/help-find.png");
  106.     -moz-image-region: rect(0px 32px 32px 0px);
  107. }
  108.  
  109. #help-find-button:hover,
  110. #help-find-button[buttonover="true"] {
  111.  -moz-image-region: rect(32px 32px 64px 0px);
  112. }
  113.  
  114. #help-toolbar-customization { 
  115.     list-style-image: url("chrome://help/skin/customize.png");
  116.     -moz-image-region: rect(0px 32px 32px 0px);
  117. }
  118.  
  119. #help-toolbar-customization:hover,
  120. #help-toolbar-customization[buttonover="true"]  { 
  121.     -moz-image-region: rect(32px 32px 64px 0px);
  122. }
  123.  
  124. #help-home-button { 
  125.   list-style-image: url("chrome://browser/skin/icons/home.png");
  126.   -moz-image-region: rect(0px 32px 32px 0px);
  127. }
  128.  
  129. #help-home-button:hover,
  130. #help-home-button[buttonover="true"] {  
  131.     -moz-image-region: rect(32px 32px 64px 0px); 
  132.  
  133. #help-print-button {
  134.     list-style-image: url("chrome://browser/skin/icons/print.png");
  135.     -moz-image-region: rect(0px 32px 32px 0px);
  136. }
  137.  
  138. #help-print-button:hover,
  139. #help-print-button[buttonover="true"] {    
  140.     -moz-image-region: rect(32px 32px 64px 0px); 
  141. }
  142.  
  143. #help-zoom-large-button { 
  144.      list-style-image: url("chrome://help/skin/zoom-large.png");
  145.     -moz-image-region: rect(0px 32px 32px 0px); 
  146. }
  147.  
  148. #help-zoom-large-button:hover,
  149. #help-zoom-large-button[buttonover="true"] {
  150.  -moz-image-region: rect(32px 32px 64px 0px); 
  151. }
  152.  
  153. #help-zoom-small-button {
  154.  list-style-image: url("chrome://help/skin/zoom-small.png");
  155.  -moz-image-region: rect(0px 32px 32px 0px); 
  156. }
  157.  
  158. #help-zoom-small-button:hover,
  159. #help-zoom-small-button[buttonover="true"] {
  160.  -moz-image-region: rect(32px 32px 64px 0px);
  161. }
  162.  
  163. #help-sidebar-button {
  164.      list-style-image: url("chrome://help/skin/sidebar.png");
  165.     -moz-image-region: rect(0px 32px 32px 0px);
  166. }
  167.  
  168. #help-sidebar-button:hover,
  169. #help-sidebar-button[buttonover="true"] { 
  170.     -moz-image-region: rect(32px 32px 64px 0px);
  171. }
  172.  
  173. /** Toolbar Customization stuff **/
  174.  
  175. toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-icon,
  176. toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text, 
  177. toolbar[mode="icons"] > toolbarbutton[type="menu-button"] > .toolbarbutton-icon,
  178. toolbar[mode="text"] > toolbarbutton[type="menu-button"] > .toolbarbutton-text {
  179.     display: -moz-box;
  180. }
  181.  
  182. toolbar[mode="icons"] .toolbarbutton-text,
  183. toolbar[mode="text"] .toolbarbutton-icon {
  184.     display: none;
  185. }
  186.  
  187. /* Small icons are not supported. */
  188. #smallicons { display: none; }
  189.  
  190. /*** THROBBER ***/
  191.  
  192. #help-throbber {
  193.   -moz-appearance: none !important;
  194.   -moz-user-focus: ignore;
  195.     -moz-box-pack: center;
  196.     list-style-image: url("chrome://browser/skin/icons/throbber.png");
  197.     min-width: 0;
  198.     height: 32px;
  199.   margin: 0 6px !important;
  200.     padding: 0 !important;    
  201.   background: transparent !important;
  202.     border: none !important;   
  203. }
  204.  
  205. #help-throbber .button-box {
  206.     background: none !important;
  207.     padding: 0 !important;
  208. }
  209.  
  210. #help-throbber[busy="true"] {
  211.   list-style-image: url("chrome://browser/skin/icons/throbber.gif");
  212. }
  213.